package com.lmb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmb.bean.Setmeal;
import com.lmb.dto.SetmealDto;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpSession;

/**
 * @projectName: reggie
 * @package: com.lmb.service
 * @className: SetmealService
 * @author: Eric
 * @description: TODO
 * @date: 2022/9/18 16:47
 */
public interface SetmealService extends IService<Setmeal>{
    @Transactional
    void upStatuss(Long[] ids, Integer status, HttpSession session);

    @Transactional
    void deleteDishs(Long[] ids);

    @Transactional
    boolean addSetmealAndSetmealDish(SetmealDto setmealDto, HttpSession session);
}
